<?php
class widget_slideshow extends CWidget {
  public function run() {
    $slideshows = Slideshow::model()->getSlideShow();
    $this->render('widget_slideshow', array(
      'slideshows' => $slideshows
    ));
    
  }
}
?>